﻿<%@ Page Language="C#" AutoEventWireup="true" Theme="skin_control" CodeFile="QuarterResolveDetailShow.aspx.cs"
    Inherits="Quarter_QuarterResolveDetailShow" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>根据年计划显示年分解计划</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript">
        <!--
            function aa(str)
            {
                window.open('../WebCommon/Department.aspx', '', 'width=700,height=580,top=200, left=300,scrollbars=yes'); 
            }
        -->
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True">
            </asp:ScriptManager>
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="center">
                        
                        <asp:Label ID="lbltitle" runat="server" Text="Label" SkinID="labelSkin"></asp:Label></td>
                </tr>
                <tr>
                    <td>
                        <asp:GridView ID="gvlist" runat="server" Width="100%" AutoGenerateColumns="False"
                            AllowPaging="True" OnPageIndexChanging="gvlist_PageIndexChanging" SkinID="gridviewSkin">
                            <Columns>
                                <asp:BoundField DataField="QuarterPlanId" HeaderText="编号" />
                                <asp:BoundField DataField="StartTime" HeaderText="起始时间" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="False" />
                                <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="False" />
                                <asp:BoundField DataField="WorkItem" HeaderText="计划名称" />
                                <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门" />
                                <asp:BoundField DataField="MasterPeople" HeaderText="责任人" />
                                <asp:BoundField DataField="SlaveDepartment" HeaderText="关联/配合部门" />
                                <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任" />
                                <asp:BoundField DataField="EvaluatePeople" HeaderText="评估人" />
                                <asp:BoundField DataField="Remart" HeaderText="备注" Visible="False" />
                                <asp:TemplateField HeaderText="查看年分解计划">
                                    <ItemTemplate>
                                        &nbsp;<asp:Button ID="btnResolve" runat="server" OnClick="btnResolve_Click" Text="查看年分解" SkinID="buttonSkin" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td align="center"><asp:GridView ID="gdvQuarterResolve" runat="server" Width="100%" AutoGenerateColumns="False"
                            AllowPaging="True" OnPageIndexChanging="gvlist_PageIndexChanging" SkinID="gridviewSkin">
                        <Columns>
                            <asp:BoundField DataField="Id" HeaderText="编号" />
                            <asp:BoundField DataField="QuarterPlanId" HeaderText="年计划编号" />
                            <asp:BoundField DataField="QuarterDetailPlanId" HeaderText="年分解计划编号" />
                            <asp:BoundField DataField="StartTime" HeaderText="起始时间" />
                            <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" />
                            <asp:BoundField DataField="WorkItem" HeaderText="计划名称" />
                            <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门" />
                            <asp:BoundField DataField="MasterPeople" HeaderText="责任人" />
                            <asp:BoundField DataField="SlaveDepartment" HeaderText="关联/配合部门" />
                            <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任" />
                            <asp:BoundField DataField="EvaluatePeople" HeaderText="评估人" />
                            <asp:BoundField DataField="Remart" HeaderText="备注" Visible="False" />
                        </Columns>
                    </asp:GridView>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
